﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microhard.WeixinMP.Validators;
using Microhard.Core.DBUtility;
using Microhard.Core.Extensions;

namespace Microhard.WeixinMP.Models
{

    [FluentValidation.Attributes.Validator(typeof(SendToUserInfoValidator))]
    public class SendToUserInfoModel : BasePermissionModel
    {
        [ModelPKID]
        public Guid InfoID { set; get; }
        public string Title { set; get; }
        public string Content { set; get; }
        public Guid MsgType { set; get; }
        [ModelReadTxtFromoCache(IDFieldName = "MsgType")]
        public string TypeToDisplay { set; get; }
        public DateTime CreateTime { set; get; }
        public string ClickKey { set; get; }
        public Guid BelongEntityID { set; get; }
        public string Summary { set; get; }
    }
}
